import { createRouter, createWebHashHistory } from 'vue-router'
import {adminRoutes} from '@/router/admin'
import {webRoutes} from '@/router/web'

const routes = [
  ...adminRoutes,
  ...webRoutes,
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
